const { ccclass, property } = cc._decorator;

@ccclass
export default class toolManager extends cc.Component {


    update(dt) {
        this.node.x -= dt * 1000
        if (this.node.x <= -cc.winSize.width / 2) {
            this.node.destroy()
        }
    }
}
